erlang-dev software package provides Erlang/OTP development libraries and headers, you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install erlang-dev
erlang-dev is installed in your system.
Make ensure the erlang-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep erlang-dev *
You will get with erlang-dev package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | Interpreters |
| Package | erlang-dev |
| Version | 1:19.1.5+dfsg-1 |
| Description | Erlang/OTP development libraries and headers |
| Sub Section | Interpreters |